package me.zhengjie.modules.web.domain.course;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @author 王宇
 */
@Data
public class CourseClockInDetailResp {

    @ApiModelProperty(value = "课程名称")
    private String courseName;

    @ApiModelProperty(value = "课程封面")
    private String courseCover;

    @ApiModelProperty(value = "打卡对象")
    private String authority = "班级成员";

    @ApiModelProperty(value = "打卡人数")
    private int peopleNumber;

    @ApiModelProperty(value = "打开作业数量")
    private int homeworkNumber;

    @ApiModelProperty(value = "已打开天数")
    private int completeDays;

    @ApiModelProperty(value = "课程编号")
    private String courseNo;

    @ApiModelProperty(value = "打开作业列表")
    private List<Homework> homeworkList;

    @ApiModelProperty(value = "当前用户已打开日期列表")
    private List<String> clockDateList;

    @ApiModelProperty(value = "开始打卡时间")
    private String startClock;

    @ApiModelProperty(value = "结束打卡时间")
    private String endClock;

    @ApiModelProperty(value = "今日是否打卡，true：打了，false：未打卡")
    private boolean clockInToday;

    @ApiModelProperty(value = "今日打卡内容")
    private String clockInContentToday;

    @ApiModelProperty(value = "打卡规则")
    private String clockRule;

    @Data
    public static class Homework{
        private Long clockId;
        private String headPic;
        private String realName;
        private String content;
        private String clockTime;
    }
}